package com.fxwater.websocket.service;

import com.fxwater.websocket.util.OneThread;

import javax.websocket.OnOpen;
import javax.websocket.Session;
import javax.websocket.server.ServerEndpoint;

//@ServerEndpoint("/websocket")
public class WebSocket {
    @OnOpen
    public void onOpen(Session session){
        //OneThread thread =null;
        //thread=new OneThread(session);
       // thread.start();
    }
}
